

export function addNode(el) {

    const dm = new ht.DataModel();
    const gv = new ht.graph.GraphView(dm);
    dm.setBackground('#000');
    gv.addToDOM(el);

    const node = new ht.Node();
    dm.add(node);

    node.setSize(100, 100);
    node.setPosition(100, 100);
}

